package com.nondo.rdp.core.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 阿里云oss配置
 */
@Component
@ConfigurationProperties(prefix = "aliyun_oss")
public class AliyunOssConfig {
    private Boolean enable;
    private String endpoint;
    private String access_key_id;
    private String access_key_secret;
    private String bucket_name;
    private String bucket_name_video;

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public String getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    public String getAccess_key_id() {
        return access_key_id;
    }

    public void setAccess_key_id(String access_key_id) {
        this.access_key_id = access_key_id;
    }

    public String getAccess_key_secret() {
        return access_key_secret;
    }

    public void setAccess_key_secret(String access_key_secret) {
        this.access_key_secret = access_key_secret;
    }

    public String getBucket_name() {
        return bucket_name;
    }

    public void setBucket_name(String bucket_name) {
        this.bucket_name = bucket_name;
    }

	public String getBucket_name_video() {
		return bucket_name_video;
	}

	public void setBucket_name_video(String bucket_name_video) {
		this.bucket_name_video = bucket_name_video;
	}
}
